package com.qhx.common.constant;



public class Constant
{


    public static final int OK_CODE = 200;
    public static final int ERROR_CODE = 400;
    public static final int WARN_CODE = 300;
    public static final String OK_MES = "ok";
    public static final String FAIL_MES = "fail";

    public static String UTF_8 = "utf-8";


    public static final Integer PWD_ERR_MAX_CNT = 5;

    public static String USER_ID = "userId";
    public static String PASSWORD = "password";

    public static final int CATEGORY_NAME_MIN_LEN = 1;
    public static final int CATEGORY_NAME_MAX_LEN = 5;


    public static final String TOKEN_PREFIX = "Bearer";


    public static final String HTTPS_PREFIX = "https://";

    public static final String HTTP_PREFIX = "http://";

    public static int In_Code_Pre_Len = 6; 




    public static final String[] JSON_WHITELIST_STR = { "org.springframework", "com.qhx" };

    public static final Integer Role_Admin = 0;
    public static final Integer Role_Farmer = 1;
    public static final String Order_UnPaid = "0";
    public static final String Order_UnShipped = "1";
    public static final String Order_Shipped = "2";
    public static final String Order_Done = "3";
    public static final CharSequence Enable = "0";
    public static final CharSequence Disable = "1";
    public static final CharSequence DefGoodsImg = "https://jzm2004.oss-cn-zhangjiakou.aliyuncs.com/img/goods/default.png";
}
